package com.lanyou.esb.web.serviceLogManagement.vo;

import java.util.Date;

import org.apache.commons.lang3.time.FastDateFormat;

import com.lanyou.cook.common.Constants;
import com.lanyou.esb.common.CommonUtils;

public class AccessLogVo {
	public String pubFieldName;
	public String pubSystemName;
	public String callSystemName;
	public String ifName;
	public Date inEsbDate;
	public Date outEsbDate;
	public Date platformReqDate;
	public Date platformResDate;
	public String reqResult;
	public String resultDesc;

	public long times;
	public String status;
	private static FastDateFormat fastDateFormat = FastDateFormat
			.getInstance(Constants.DATETIME_PATTERN_1);

	public String getPubSystemName() {
		return pubSystemName;
	}

	public void setPubSystemName(String pubSystemName) {
		this.pubSystemName = pubSystemName;
	}

	public String getCallSystemName() {
		return callSystemName;
	}

	public void setCallSystemName(String callSystemName) {
		this.callSystemName = callSystemName;
	}

	public String getIfName() {
		return ifName;
	}

	public void setIfName(String ifName) {
		this.ifName = ifName;
	}

	public String getInEsbDate() {
		return inEsbDate == null ? "" : fastDateFormat.format(inEsbDate);
	}

	public void setInEsbDate(Date inEsbDate) {
		this.inEsbDate = inEsbDate;
	}

	public String getOutEsbDate() {
		return outEsbDate == null ? "" : fastDateFormat.format(outEsbDate);
	}

	public void setOutEsbDate(Date outEsbDate) {
		this.outEsbDate = outEsbDate;
	}
	
	public String getResultDesc() {
		return resultDesc;
	}

	public void setResultDesc(String resultDesc) {
		this.resultDesc = resultDesc;
	}

	public String getPlatformReqDate() {
		return platformReqDate == null ? "" : fastDateFormat
				.format(platformReqDate);
	}

	public void setPlatformReqDate(Date platformReqDate) {
		this.platformReqDate = platformReqDate;
	}

	public String getPlatformResDate() {
		return platformResDate == null ? "" : fastDateFormat
				.format(platformResDate);
	}

	public void setPlatformResDate(Date platformResDate) {
		this.platformResDate = platformResDate;
	}

	public String getReqResult() {
		return reqResult;
	}

	public void setReqResult(String reqResult) {
		this.reqResult = reqResult;
	}

	public String getPubFieldName() {
		return pubFieldName;
	}

	public void setPubFieldName(String pubFieldName) {
		this.pubFieldName = pubFieldName;
	}

	public long getTimes() {
		return times;
	}

	public void setTimes(long times) {
		this.times = times;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
